/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package serveur;

import java.rmi.RemoteException;
import shared.ProcessList;

/**
 *
 * @author xarckane
 */

public class ProcessusFactory {
 
   
             
    public static ProcessList getProcessus() throws RemoteException {
        ProcessList process= new ProcessList();
        process.getListe().add(new shared.Process("toto", 201));
        process.getListe().add(new shared.Process("totio", 202));
        process.getListe().add(new shared.Process("titi", 203));
        return process;
    }
        
    
        
}
